package com.hyh.dubbozkproduce;

import com.alibaba.dubbo.config.ApplicationConfig;
import io.dubbo.springboot.DubboAutoConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

//@Configuration
@SpringBootApplication
//@DubboComponentScan(basePackages = "com.alibaba.dubbo.test.component.impl")
public class DubboZkProduceApplication {

	public static void main(String[] args) {
		SpringApplication.run(DubboZkProduceApplication.class, args);
	}

//	@Configuration
//	public class DubboConfiguration extends DubboAutoConfiguration {
//
//	}
//	@Bean
//	public ApplicationConfig applicationConfig() {
//		return new ApplicationConfig();
//	}
}
